@media only screen and (min-width: 768px) {
  #bg {
    display: flex;
    justify-content: center;
    align-content: center;
    width: 100%;
    height: 100%;
    background-color: #f0f0f2;
  }
  #schoolLogo {
    width: 38px;
    height: 48px;
  }
  #mainBox {
    display: flex;
    position: relative;
    margin: auto;
    width: 1000px;
    height: 550px;
    background-color: #fff;
  }
  #banner {
    position: absolute;
    top: -50px;
    left: 0;
    color: #00579a;
  }
  #banner img {
    display: block;
    float: left;
  }
  #banner span {
    padding-left: 10px;
    display: inline-block;
    font-size: 22px;
    font-weight: 700;
    line-height: 48px;
    font-family: SourceHanSansSC-bold;
  }
  #img1034 {
    width: 480px;
    height: 550px;
    flex-grow: 1;
  }
  #subBox {
    width: 520px;
    flex-grow: 1;
    background-color: #fff;
  }
}

@media only screen and (max-width: 768px) {
  #bg {
    display: flex;
    justify-content: center;
    align-content: center;
    width: 100%;
    height: 100%;
    background-color: #f0f0f2;
  }
  #banner {
    display: none;
  }
  #mainBox {
    width: 100%;
    height: 100%;
  }
  #img1034 {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
  }
  #subBox {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.4);
    z-index: 2;
  }
}
